import { UserListApi } from "@/api/user.js"
export default {
    state: {
        msg: "用户",
        userListDatas: {}
    },
    mutations: {
        changeUserListDatas(state, data) {
            state.userListDatas = data
        }
    },
    actions: {
        async actChangeUserListDatas(context, params) {
            let result = await UserListApi(params)
            console.log(result.data);
            context.commit("changeUserListDatas", result.data)
        }
    },
    getters: {}
}